﻿<div class="layui-form" lay-filter="layuiadmin-app-form-list" id="layuiadmin-app-form-list" style="padding: 20px 30px 0 0;">
 
    <script type='text/html' template> 
        <input type='hidden' name='PID' value="{{ d.params.PID || '' }}"/>
    </script>   
    <div class='layui-form-item'>
        <label class='layui-form-label'>发送号码</label>
        <div class='layui-input-inline'>
            <script type='text/html' template>
                <input type='text' name='Phone' value='{{ d.params.Phone || '' }}' lay-verify='required' placeholder='发送号码' autocomplete='off' class='layui-input'>
            </script>
        </div>
    </div>   
    <div class='layui-form-item'>
        <label class='layui-form-label'>邮件</label>
        <div class='layui-input-inline'>
            <script type='text/html' template>
                <input type='text' name='Email' value='{{ d.params.Email || '' }}' lay-verify='required' placeholder='邮件' autocomplete='off' class='layui-input'>
            </script>
        </div>
    </div>     
    <div class='layui-form-item'>
        <label class='layui-form-label'>类型</label>
        <div class='layui-input-block'>
            <div class='layui-input-inline'>
                <script type='text/html' template>
                    <select name='Type_Sel'>                      <option value='0' {{ d.params.Type_Sel == '0' ? 'selected' : '' }}>系统消息</option>                      <option value='1' {{ d.params.Type_Sel == '1' ? 'selected' : '' }}>用户消息</option>                      <option value='2' {{ d.params.Type_Sel == '2' ? 'selected' : '' }}>经理消息</option>                      <option value='3' {{ d.params.Type_Sel == '3' ? 'selected' : '' }}>监察消息</option>                      <option value='4' {{ d.params.Type_Sel == '4' ? 'selected' : '' }}>后台消息</option>
                    </select>
                </script> 
            </div>
        </div>
    </div>
       
    <div class='layui-form-item'>
        <label class='layui-form-label'>短信内容</label>
        <div class='layui-input-inline'>
            <script type='text/html' template>
                <input type='text' name='Content' value='{{ d.params.Content || '' }}' lay-verify='required' placeholder='短信内容' autocomplete='off' class='layui-input'>
            </script>
        </div>
    </div>   
    <div class='layui-form-item'>
        <label class='layui-form-label'>返回地址</label>
        <div class='layui-input-inline'>
            <script type='text/html' template>
                <input type='text' name='Url' value='{{ d.params.Url || '' }}' lay-verify='required' placeholder='返回地址' autocomplete='off' class='layui-input'>
            </script>
        </div>
    </div>   
    <div class='layui-form-item'>
        <label class='layui-form-label'>备注</label>
        <div class='layui-input-inline'>
            <script type='text/html' template>
                <input type='text' name='Rmk' value='{{ d.params.Rmk || '' }}' lay-verify='required' placeholder='备注' autocomplete='off' class='layui-input'>
            </script>
        </div>
    </div>   
    <div class='layui-form-item'>
        <label class='layui-form-label'>标题</label>
        <div class='layui-input-inline'>
            <script type='text/html' template>
                <input type='text' name='Title' value='{{ d.params.Title || '' }}' lay-verify='required' placeholder='标题' autocomplete='off' class='layui-input'>
            </script>
        </div>
    </div> 
    <div class="layui-form-item">
        <label class="layui-form-label"></label>
        <div class="layui-input-inline">
            <input type="button" lay-submit lay-filter="layuiadmin-app-form-submit" value="确认" class="layui-btn">
        </div>
    </div>
</div>

<script type="text/javascript"> 
    
    layui.data.getSelSource = function (d) {
        layui.use(['form', 'admin'], function () {
            var $ = layui.$;
            var form = layui.form;
            var admin = layui.admin;

        });
    }
 
    
    
    layui.data.datedone = function (d) {
        layui.use('laydate', function () {
            var laydate = layui.laydate;

        });
    }
    
    layui.use(['form'], function () {
        var form = layui.form;//required（必填项）phone（手机号）email（邮箱）url（网址）number（数字）date（日期）identity（身份证） 自定义值
    });
</script>
